/*Variabili globali e import*/
:root {
    --backg_card: #fbfafa;
    --backg: #342195;
    --backgt: #34219570;
    --backgd: #15153f;
    --primary: #ff1d99;
    --primaryd:#d11a7f;
    --primaryl:#fe61b7;
    --warn:#c00000;
    --warnt:#c000004b;
    --warnd:#830000;
    --due: #b1bad6;
    --white: #d7d7d7;
    --borders: #fff;
    --outline: #3f4fab70;
    --rowgrad: linear-gradient(#3026a4,#0c136f);
    --row: #fefefe;
    --textarea: #fff;
    --textcolor:#f4f4f4;
    --radius:.4em;
    --parallax-x: 0%;
    --parallax-y: 0%;
}
/*Preferenze generali*/
html{
    background-color: black;
    font-family: 'Rubik', sans-serif;
    color: var(--backg_card);
    height: 100%;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}
body{
    margin: 0em;
    width: 100%;
    top:0;
    height: -webkit-fill-available;
    overflow:hidden;
}
section{
    background-color: var(--backg);
    height: -webkit-fill-available;
    width: -webkit-fill-available;
    transition: 0.3s opacity, 0.3s transform;
    opacity: 0;
    display: none;
    transform: translateX(50%);
}
section.onopacity{
    opacity: 1;
    transform: translateX(0%);
}
h1,h2,h3,h4,h5,h6{
    user-select: none;
    font-family: 'Cairo', sans-serif;
}
h2{font-weight: 600;}
i.bi{
    font-size: 2.8em;
}
button{
    cursor: pointer;
    font-size: 1.5em;
    background-color: var(--primary);
    text-align: center;
    border: none;
    color: white;
    margin-top: 2em;
    position: relative;
    width: -webkit-fill-available;
    border-radius: var(--radius);
    padding: 0.5em 1em 0.5em 1em;
    font-family: 'Rubik';
    outline: solid var(--outline) 2px;
    outline-offset: 0px;
    margin: 2em .2em .2em .2em;
    transition: outline-color .3s, outiline-offset .3s;
}
button:hover {
    outline-color: white;
    outline-offset: 2px;
}
button:active {
    outline-color: white;
    outline-offset: 2px;
    background-color: var(--primaryd);
}
.pill {
    border: var(--outline) solid 2px;
    background-color: transparent;
    padding: 0.3em 0.5em;
    border-radius: var(--radius);
    cursor: pointer;
    width: max-content;
}
.pill.warn {
    border: var(--warn) solid 3px;
    background-color: var(--warnd);
}
p{
    cursor: default;
}
.br {
    flex-basis: 100%;
    width: 7em;
    margin-top: 1em;
}
.br:not(:first-child) {
    margin-top: 2em;
}
* {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.hidden {
    opacity:0!important;
    pointer-events: none!important;
    cursor: default!important;
}
.disabled{
    pointer-events: none!important;
    cursor: default!important;
}
.disabledo {
    opacity:0.5!important;
    pointer-events: none!important;
    cursor: default!important;
}
/*colors*/
#time{color: var(--white)}
.read{animation: read 0.5s infinite;}
@keyframes read {
    0%{opacity: 1;}
    100%{opacity: 0.5;}
}
.pulse{animation: pulse 0.5s infinite;}
@keyframes pulse {
    0%{transform: scale(1);}
    100%{transform: scale(0.97);}
}
/*#########################*/
/*-----------MAIN----------*/
#main{
    flex-direction: column;
    flex-wrap: nowrap;
    padding-bottom:0em;
     background-color: transparent;
}
#main.on{
    display: flex;
}
/*header*/
#main > .header{
    display:flex;
    align-items: center;
    height: 2em;
}
.header > h4 {
    font-size:1.5em;
}
div.header > div{
    height: min-content;
    font-size: 0.7em;
}
/*main*/
#maincontainer{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 110%;
    left: 0;
    box-sizing: border-box;
    padding: 1.5em;
    z-index: 10;
    transition: top 0.4s;
}
#maincontainer.open{
    top: 0%;
}
/*contentmenu*/
#contentmenu{
    display: flex;
    justify-content: space-around;
    user-select: none;
    max-width: 800px;
    margin: auto;
    background-image: radial-gradient(white, #ffffff91, #ffffff40, #ffffff12, transparent, transparent, transparent);
    background-repeat: no-repeat;
    background-position-y: -38px;
    background-color: var(--backg);
}
#contentmenu > div > i {
    font-size: 2em;
    top: 0.25em;
    position: relative;
    transition: .3s all;
}
#contentmenu > div.cur > i {
    top: 0em;
}
#contentmenu > div:active {
    opacity: 1;
}
#contentmenu > div > p{
    margin-top: 2em;
    border-bottom: solid transparent;
    opacity: 0;
    position:absolute;
    transition: cubic-bezier(0.55, 0.085, 0.68, 0.53) 0.2s all;
}
#contentmenu > div.cur > p{
    opacity: 1;
    margin-top: 2.5em;
}
#contentmenu > div:after {
    background-color: #ffffff;
    top: -1em;
    width: 1em;
    height: 1em;
    content: "";
    transform: scale(0);
    opacity: .8;
    border-radius: 2em;
    transition: none;
    position: relative;
    pointer-events: none;
}
#contentmenu > div.cur:after {
    background-color: #ffffff91;
    top: -1em;
    width: 1em;
    content: "";
    height: 1em;
    transform: scale(8);
    opacity: 0;
    position: relative;
    transition: .5s transform, .4s ease-in opacity;
}
#contentmenu > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 100%;
    padding-top:1em;
    padding-bottom:1em;
    opacity: .6;
    transition: all .2s;
    cursor: pointer;
}
#contentmenu > div.cur {
    opacity: 1;
}
#menu-home{
    flex-basis: 120%;
    background: #ffffff1a;
    border-radius: 14px;
}
/*content*/
#content {
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    height: 100%;
    max-width: 1000px;
    margin:auto;
    flex-wrap: wrap;
    margin-top: 0em;
    align-content: flex-start;
    transition: .3s margin-top, .3s background-color;
    scroll-behavior: smooth;
}
#content > a {
    color: white;
}
#content.refresh {
    margin-top: 10em;
}
#content:before {
    content: "";
    opacity: 0;
    display: flex;
    position: fixed;
    top: -20em;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 10em;
    transition: .3s all;
}
#main.loadgif>#content:before{
    background-image: url(https://media3.giphy.com/media/R1wC8sAkshNjIVZ3aL/giphy.gif), linear-gradient(1deg, transparent, #ffffff7d, #ffffff);
}
#content.refresh:before {
    content: "";
    opacity: 1;
    display: flex;
    position: fixed;
    top: 0em;
    background-image: url(https://media3.giphy.com/media/R1wC8sAkshNjIVZ3aL/giphy.gif), linear-gradient(1deg, transparent, #ffffff7d, #ffffff);;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 10em;
}
.row{
    width: 100%;
    position: relative;
    background-color: var(--row);
    color: var(--textcolor);
    padding: 1em;
    margin: 1em;
    border-radius: 0.4em;
    box-shadow: 7px 8px 16px #00000014;
    outline: solid var(--outline) 2px;
    outline-offset: 0px;
    background: var(--rowgrad);
    transition: outline-color .3s, outiline-offset .3s;
}
.row:hover,.row:active {
    outline-color: white;
    outline-offset: 2px;
}
.content > .row, .maps > .row {
    margin: 1em;
}
.row h2{
    margin-bottom: 0.5em;
    line-height: 1em;
    margin-top: 0;
}
.row img{
    max-width: 100%;
    max-height: 20em;
    position: relative;
    left: 50%;
    transform: translatex(-50%);
    border-radius: .4em .4em 0 0;
}
.row video{
    max-width: 100%;
}
.row h4{
    margin-top: 0.3em;
    font-weight: 300;
    line-height: 1.2em;
    margin-bottom: 0em;
}
/*content > mapstree*/
.row.tree{
    cursor: pointer;
}
.row.tree.half{
    cursor: pointer;
}
.maps.tree{
    padding:1em;
    gap:1em
}
.maps.tree .row{
    margin: 0;
    transition: transform .2s, outline-offset .2s;
}
.maps.tree .row:active{
    transform: scale(.95);
}
.maps.tree .row >.bkg { 
    max-height: none;
    transform: none;
}
.maps.tree .row.head{
    height: calc(100% - 27em);
    min-height: 8em;
    overflow: hidden;
    max-height: 40%;
}
.maps.tree .row.head >.overlay {
    max-height: 100%;
    bottom: 0px;
    position: absolute;
    transition: .3s transform;
    transform: translatex(calc(-50% + (var(--parallax-x))/3));
}
.maps.tree .row.head >.bkg { 
    transition: .3s transform;
    transform: translate(calc((var(--parallax-x))/-4),calc((var(--parallax-y))/-4)) scale(1.25);
}
.maps.tree .row.squeeze{
    height: 3em;
}
.maps.tree .row.squeeze>.bkg{
    animation: squeeze 200s cubic-bezier(0.2, 0, 0.8, 1) infinite alternate-reverse;
}
.maps.tree .row.mid{
    height: 8em;
}
.maps.tree .row.small{
    height: 5em;
    width: calc(50% - 2.5em);
}
.maps.tree .row.small > h2{
    display:none;
}
@keyframes squeeze {
    0%{ object-position: 0% 0px;}
    100%{ object-position: 100% 0px;}
}
.shimmer {
  color: grey;
  display: inline-block;
  mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) right/350% 100%;
  animation: shimmer 2.5s infinite;
  font-size: 50px;
  max-width: 200px;
}

@keyframes shimmer {
  100% {
    mask-position: left
  }
}
/*content > maps*/
#content.maps{
    width: -webkit-fill-available;
}
@media (min-width:800px) {
    #content.maps{
        min-width: 800px;
    }}
.maps > .row h2.verified{
    display: inline;
}
.row img.edition {
    max-width: none;
    transform: none;
    box-shadow: none;
    left:auto;
    max-height:none;
    height: 1.6em;
    margin-left: .4em;
    margin-top: .25em;
    position: absolute;
}
.maps>.layout{
    width: calc(100% - 7em);
}
.maps>.roadmap{
    background-color: #ffffff1c;
    width: 3em;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    position: sticky;
    top: 0px;
}
.maps>.roadmap.higlighted{
    animation: higlight .5s ease-in-out infinite alternate;
}
@keyframes higlight {
    0%{background-color: #fff4}
    100%{background-color: #fff7}
}
.maps>.roadmap>.dot{
    background-color: #ffffff;
    width: .5em;
    height: 2%;
    border-radius: 1em;
    opacity: .5;
    cursor: pointer;
}
.maps>.roadmap>.dot.letter{
    color: var(--textcolor);
    width: 2.5em;
    height: 2.5em;
    border-radius: .5em;
    background: var(--rowgrad);
    text-align: center;
    align-content: center;
    opacity: 1;
    outline: solid var(--outline) 2px;
    outline-offset: 0px;
    transition: transform .2s, outline-offset .2s;
}
.maps>.roadmap>.dot.letter:hover{
    outline-color: white;
    outline-offset: 2px;
}
.maps>.roadmap>.dot.letter:active{
    transform: scale(.95);
}
.maps>.roadmap>.dot.toreview{
    animation: toreview 3s ease-in-out infinite alternate;
}
@keyframes toreview {
    0%{background-color: var(--primary)}
    50%{background-color: var(--primary)}
    100%{background-color: white}
}
.maps>.roadmap>.dot.released{
    opacity: 1;
    cursor: pointer;
}
.maps>.roadmap>.line{
    background-color: #ffffff;
    width: 1em;
    height: .2em;
    border-radius: 1em;
    opacity: .2;
}
.maps .row{
    height: 8em;
    margin-top: 2em;
    color: white;
    position: relative;
    image-rendering: -webkit-optimize-contrast;
}
.maps .row>.bkg{
    width: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    height: 100%;
    object-fit: cover;
    object-position: top;
    left: 0;
    opacity: 0;
    border-radius: var(--radius);
    transform: inherit;
    user-select: none;
    transition: opacity .5s ease-in-out;
}
.maps .row>.clickbox{
    height: 100%;
    width: 100%;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
}
.maps .row .name{
    margin: 0em;
}
.maps .row .ver{
    margin: 0em;
    font-size: 1em;
    font-weight: 300;
}
.maps .row .artist{
    margin: 0em;
}
.maps .row .review{
    height: 2.5em;
    background-color: var(--primary);
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 0em 0em var(--radius) var(--radius);
}
.maps .row .reviewed{
    background-color: var(--backg);
}
.maps .row .reviewed>.starry{
    font-size: 0.6em;
    margin-left: 0.9em;
}
.maps .row .leaked{
    background-color: #6a6a6a;
    pointer-events: none;
}
.maps .row .review>h2{
    margin-left:.5em;
    margin-bottom: .2em;
}
.maps .row .review>i{
    margin-left: 0.3em;
    font-size: 1.5em;
}
.maps .row .albumcontainer{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    height: 11em;
    position: absolute;
    box-shadow: none;
    pointer-events: none;
    bottom: 0em;
    z-index: 5;
    will-change: transform;
    transition: opacity .3s ease-in-out;
    animation: ext ease-in-out infinite alternate-reverse;
}
.albumcontainer{
    display: flex;
}
.albumcontainer .ext{
    height: 11em;
    width: 11em;
    left: 0%;
    margin: 0em -3em;
    transform: none;
    transition: opacity .3s ease-in-out;

}
@keyframes ext {
    0%{
        transform:translateX(1em);
    }
    100%{
        transform:translateX(0em);
    }
}

.maps.tier .row {
    height: 2em;
    margin-top: 1em;
}
.maps.tier .roadmap, .maps.tier>.layout>.row .review {
    display: none;
}
.maps.tier>.layout {
    width: calc(100% - 4em);
}
/*content > community*/
#content.community {
    width: -webkit-fill-available;
}
.community > .menu {
    width: -webkit-fill-available;
    overflow-x: scroll;
    background-color: var(--backg);
    position: sticky;
    top: -50%;
    z-index: 1;
    background-position-y: 140px;
    background-position-x: center;
    background-repeat: no-repeat;
    background-size: 134% 36%;
    background-image: radial-gradient(white, #ffffff91, #ffffff40, #ffffff12, transparent, transparent, transparent);
    transition: .5s all;
}

.community > .menu.stick {
    top: 0%;
    background-position-y: 100px;
}
.community > .menu.stick > .submenu {
    padding-bottom: 1em;
}
.community > div.content.empty:not(.loading):after{
    content: "No reviews here yet!";
    font-family: bootstrap-icons, 'Rubik' !important;
    -webkit-font-smoothing: antialiased;
    font-size: 1em;
    margin-top: 2em;
}
.community > div.content.empty:not(.loading)[data-type="search"]:after{
    content: "No reviews yet from this user!";
}
.community > div.content.empty:not(.loading)[data-type="mine"]:after{
    content: "Review your first map!";
}
.community > div.content.empty:not(.loading)[data-type='friends']:after{
    content: "No friends here!";
    font-family: bootstrap-icons, 'Rubik' !important;
    -webkit-font-smoothing: antialiased;
    font-size: 1em;
    margin-top: 2em;
    background-image: url(https://jd2026community.com/media/img/theme/nofriends.webp);
    height: 24em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.community > .menu > .submenu {
    width: fit-content;
    display: flex;
    padding: 1em;
    gap: 1em;
    padding-bottom: 0;
    transition: .5s all;
}
.community > .menu::-webkit-scrollbar { opacity: .5 }
@media (hover: none) {
    .community > .menu::-webkit-scrollbar { height: 0px !important; overflow: -moz-scrollbars-none; -ms-overflow-style: none; }
}
.community .header{
    position: relative;
    background-image: url(https://jd2026community.com/media/img/theme/mapflare2.webp);
    background-size: 100% 100%;
    overflow: hidden;
}
.community .header::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://jd2026community.com/media/img/theme/mapflare3.webp);
    background-size: 100% 100%;
    z-index: 10;
    animation: loadingpulse 3s infinite alternate-reverse;
}
.community .header>.bkg{
    width: 100%;
    z-index: -1;
    position: absolute;
    user-select: none;
    left: 0;
    top: 0;
    mask-image: url(https://jd2026community.com/media/img/theme/mapmask.webp);
    mask-size: 100%;
    display: block;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}
.community .header>.ext{
    width: 100%;
    max-height: 20em;
    z-index: 5;
    position: relative;
    user-select: none;
    display: block;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}
.filter {
    height: 4em;
    width: 8em;
    font-size: 1.1em;
    padding: 0.5em 0 0 0.5em;
    border-radius: var(--radius);
    background-size: cover;
    background-position: bottom;
    user-select: none;
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
    flex: none;
    line-height: 1.1em;
    opacity: .4;
    transition: opacity .3s;
    cursor: pointer;
}
.filter:hover {
    opacity: .6;
}
.filter:active {
    opacity: 1;
}
.filter.cur {
    opacity: 1;
}
.community > .content, #shbuilder > .content{
    overflow-x: hidden;
    display: flex;
    max-width: 1000px;
    width: -webkit-fill-available;
    margin: auto;
    flex-wrap: wrap;
    margin-top: 0em;
    align-content: flex-start;
    transition: .3s margin-top, .3s background-color;
    scroll-behavior: smooth;
    padding: 1em;
    gap: 1em;
}
#content.community > .content > .row {
    margin:0;
}
.content > .row  .country{
    height: 1.3em;
    width: 1.3em;
    background-size: cover;
    background-position: center;
    border-radius: 3em;
    top: 0.3em;
    position: relative;
    border: var(--textcolor) 3px solid;
    display: inline-block;
    margin-right: 0.4em;
}
.content > .row  h2{
    line-height: 1em;
    margin: 0;
    margin-bottom: .3em;
    display: inline;   
    cursor: pointer;
}
.content > .row  h3.verified{
    display: inline;
    margin-left: .5em;
    font-weight: 500;
    font-size: 1em;
    line-height: 1em;
    color: white;
}
.content > .row  h3.verified:before{
    content:"\f4b6";
    font-family: bootstrap-icons !important;
    margin-right: .2em;
    font-size: .8em;
}
.content > .row  h3.about{
    font-weight: 500;
    font-size: 1em;
    margin:0em;
    margin-top: -0.3em;
}
.content > .row  .ups{
    display: flex;
    justify-content: flex-end;
}
.content > .row  .ups > i{
    font-size: 1.5em;
    height: fit-content;
    margin-top: 0.3em;
    margin-right: 0.2em;
    transition: color .3s;
}
.content > .row  .ups > .bi-person-heart.friend{
    color: var(--primary);
}
.content > .row  .ups > i.bi-star{
    margin-left: auto;
}
.content > .row  .ups > i.bi-star-fill{
    color: var(--primary);
    margin-left: auto;
}
.content > .row  .ups > i.bi-star-fill.inst{
    animation: starpop 1s ease-out;
}
@keyframes starpop {
    0% {transform:scale(1) rotate(0deg);}
    20% {transform:scale(1.5) rotate(180deg);}
    100% {transform:scale(1) rotate(360deg);}
}
.content > .row  .ups > h3{
    font-size: 1.5em;
    margin: 0em;
}
.content > .row  i.bi-share-fill{
    font-size: 1.3em;
    position: absolute;
    right: 1.3em;
    top: 1.3em;
    color: var(--textcolor);
    cursor: pointer;
}
.content > .row  i.bi-share-fill:active,
.content > .row  i.bi-share-fill:hover{
    color: #8f8f8f;
}
.community>.content.waitrev:before{
    content: "Some of your posts are being reviewed by mods";
    height: 30px;
    width: -webkit-fill-available;
    text-align: center;
    padding: 20px;
}
.community>.content.loading:after{
    content: "Loading more...";
    padding: 20px;
}
.community>.content:after{
    content: "";
    height: 30px;
    width: -webkit-fill-available;
    text-align: center;
    padding: 0px;
    transition:all .3s
}
.community>.content.loading>.row,
.community>.content.loading.waitrev:before{
    display:none;
}
.community>.content.loading:after {
    content: "";
    background-image: url(/media/img/theme/logo_ubi.png);
    pointer-events: none;
    width: 100%;
    background-size: contain;
    position: fixed;
    animation: loadingcut 1s ease-in-out infinite alternate-reverse, loadingpulse 2s infinite, 3s loadingstartup 1s both;
    background-position: center;
    background-repeat: repeat-x;
    left: 0px;
    top: 14em;
    transform: skewY(-5deg);
}
/* - contents - */
#content.contents{
    justify-content: center;
}
.contents > .banner{
    width: 100%;
    color: #ffffff;
    font-family: 'Cairo';
    font-weight: 600;
    text-shadow: 0px 0px 3px black;
    line-height: .8em;
    padding: 1em;
    margin: 1em;
    border-radius: var(--radius);
    height: 5em;
    max-width: 25em;
    box-shadow: 7px 8px 16px #00000014;
    background-size: cover;
    background-position: top;
    transition: .1s all;
}
.contents > .leaderboard{
    width: 100%;
    color: #8b8b8b;
    padding: 1em;
    margin: 1em;
    max-width: 25em;
    border-radius: var(--radius);
    height: 5em;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 7px 8px 16px #00000014;
    transition: .1s all;
}
.contents > .banner:active, .contents > .leaderboard:active, .contents > .fanta:active{
    transform: scale(.95);
}
.contents > .leaderboard > img {
    position: absolute;
    bottom: -0.8em;
    height: 9em;
    right: -4em;
    pointer-events: none;
    animation: leaderboard 6s ease-in-out infinite alternate-reverse;
}
@keyframes leaderboard {
    0% {transform: rotate(-9deg)}
    20% {transform: rotate(9deg)}
    40% {transform: rotate(-9deg)}
    60% {transform: rotate(9deg)}
    80% {transform: rotate(-9deg)}
    100% {transform: rotate(9deg)}
}
.contents > .fanta{
    width: 100%;
    color: #8b8b8b;
    padding: 1em;
    margin: 1em;
    max-width: 25em;
    border-radius: var(--radius);
    height: 5em;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 7px 8px 16px #00000014;
    transition: .1s all;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-direction: column;
}
.contents > .fanta > img{
    width: 70%;
    filter: drop-shadow(0px 0px 10px #12bbf7);
}
.contents > .fanta > h2{
    margin: 0;
    font-size: 1em;
    color: white;
    text-shadow: 0 0 9px #19aad3;
}
.contents > .fanta > .bkg{
    position: absolute;
    z-index: -1;
    width: 130%;
    height: auto;
    animation: fantabkgrot 55s infinite linear;
}
@keyframes fantabkgrot {
    0% {transform: rotate(0deg)}
    100% {transform: rotate(360deg)}
}
.contents > .fanta.soon,.contents > .fanta.ongoing{
    height: 8em;
}
.contents > .fanta.ongoing > .bkg{
    animation: fantabkgrot 20s infinite linear, fantaongoing .5s infinite alternate;
}
.contents > .fanta.ongoing > img{
    animation: credit 1.8s infinite ease-in-out alternate-reverse;
}
.contents > .fanta > .button{
    display: inherit;
    background-color: var(--primary);
    text-align: center;
    border: none;
    color: white;
    margin-top: 0.5em;
    border-radius: var(--radius);
    padding: 0.5em 1em 0.5em 1em;
    font-family: 'Rubik';
}
.contents > .fanta.ongoing > .userscore{
    display: none;
}
.contents > .fanta.ongoing:after {
    content: "Ongoing session";
    display: inherit;
    position: absolute;
    font-size: 1em;
    top: 0;
    left: 0;
    font-weight: 100;
    padding: 0.2em 0.4em;
    border-radius: 0 0 0.4em 0;
    background-color: var(--primary);
    transition: opacity 0.3s;
    color: white;
}
@keyframes fantaongoing {
    0% {filter: brightness(.95)}
    100% {filter: brightness(1.15)}
}
.contents > .fanta > .userscore{
    display: flex;
    background-color: white;
    padding: 0em 1em;
    border-radius: 1em;
    margin-top: 0.5em;
    animation: credit 1.8s infinite ease-in-out alternate-reverse;
}
@keyframes credit {
    0% {transform: scale(0.9)}
    100% {transform: scale(1)}
}
.contents > .fanta > .userscore > h2{
    color: var(--primary);
    margin: 0;
    font-size: 1em;
    font-weight: 400;
}
.contents > .fanta > .userscore > .bi{
    font-size: 1em;
    height: fit-content;
    margin-top: 0.35em;
    margin-left: 0.3em;
    color: var(--primary);
}
.contents > .poll{
    width: 100%;
    margin: 1em;
    max-width: 25em;
    border-radius: var(--radius);
    height: 8em;
    position: relative;
    transition: .1s all;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contents > .poll > .pollslide{
    width: 100%;
    border-radius: var(--radius);
    height: 5em;
    position: relative;
    box-shadow: 7px 8px 16px #00000014;
    transition: .1s all;
    overflow: hidden;
}
.contents > .poll > .pollslide > div {
    height: 2.5em;
    width: 50%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: .1s all;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: black 0 0 12px;
    font-size: 2em;
}
.contents > .poll > .pollslide > div:after {
    content: "My choice";
    opacity: 0;
    display: none;
    position: absolute;
    font-size: .4em;
    opacity: .8;
    top: 0;
    left: 0;
    font-weight: 100;
    padding: 0.2em 0.4em;
    border-radius: 0 0 0.4em 0;
    background-color: var(--primary);
    transition: opacity 0.3s;
}
.contents > .poll > .pollslide > div.choice:after {
    opacity: 1;
    display: inherit;
}
.polltitle{
    font-weight: bold;
    font-family: 'Cairo';
    line-height: 1em;
    margin-bottom: .5em;
}
.polltags{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-left: 1em;
    margin-right: 1em;
    opacity: 0.8;
}
.polltags>p{
    margin: 0;
    font-size: .8em;
    margin-top: 0.5em;
}
.contents > .poll > .pollslide.voting > div.choice {
    animation: votechoice 1s ease-in-out infinite alternate;
}
@keyframes votechoice {
    0% {filter: brightness(1)}
    100% {filter: brightness(1.5)}
}
.contents > .poll > .pollslide.voting > div {
    opacity: 0.8;
}
.contents > .row  .comdiv{
    display: flex;
    justify-content: flex-end;
}
.contents > .row  .comdiv > i{
    font-size: 1.5em;
    height: fit-content;
    margin-top: 0.3em;
    margin-right: 0.2em;
    transition: color .3s;
}
.contents > .row {
    padding: 0;
}
.contents > .row > .block {
    padding: 1em;
}
/*content > buy*/
#content.buy{
    max-width: 30em;
    padding: 1em;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
#content.buy>img{
    height: 15em;
    pointer-events: none;
}
#content.buy>div{
    display: flex;
}
.platform > i {
    padding: 12px;
    border-radius: 15px;
}
.platform {
    opacity: .8;
    margin: 0.5em;
    margin-top: 2em;
    margin-bottom: 1em;
    transform:scale(1);
    transition: 0.3s all;
}
@media (max-width:800px) {
.platform > i {
    font-size: 2em;
}.platform {
    margin: 0em;
    margin-top: 2em;
}
}
.platform:hover {
    opacity: 1;
    cursor: pointer;
}
.platform:active {
    transform:scale(0.9);
}

/*content > fanta*/
#content.fanta{
    padding: 1em;
    width: -webkit-fill-available;
    max-width: 30em;
    flex-direction: column;
}
.fanta>h2{
    margin-bottom: 1.5em;
    margin-top: 0;
}
#content.fanta>.myteam{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    top: -2em;
    background: var(--rowgrad);
    padding-bottom: 5em;
    border-radius: var(--radius);
    outline: solid 2px var(--outline);
    z-index: -1;
    overflow: hidden;
}
.myteam>.coach {
    height: 10vh;
    width: 12vh;
}
.myteam>.coach>img {
    width: 20vh;
    position: relative;
    left: -36%;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

/*content > profile*/
#content.profile{
    padding: 1em;
    width: -webkit-fill-available;
    max-width: 30em;
    flex-direction: column;
}
#content.profile>.card{
    display: flex;
    align-items: center;
    gap: 1em;
    width: fit-content;
    background-color: #0000000f;
    padding: 0em 1.5em 0em 1em;
    border-radius: var(--radius);
    margin-top: 3em;
}
#content.profile>.card>input{
    background-color: transparent;
    color: white;
    border: none;
    font-family: 'Cairo', sans-serif;
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    width: 7em;
    height: calc(2em + 2px);
}
#content.profile>.card>input.disabled{
    user-select: none;
    pointer-events: none;
    cursor: default;
}
#content.profile>.card>input:focus{
    border-bottom: white 2px solid;
    outline: none;
    height: 2em;
}
#content.profile>.card>.country{
    height: 2em;
    width: 2em;
    background-size: cover;
    background-position: center;
    border-radius: 3em;
    border: white 3px solid;
}
#content.profile>.card>i{
    font-size: 1.5em;
    cursor: pointer;
}
#content.profile>.section{
    margin-top:2em;
}
#content.profile>.field{
    display: flex;
    align-items: center;
    gap: 1em;
}
#content.profile > div.footer>div, .pill {
    border: var(--outline) solid 2px;
    background-color: transparent;
    padding: 0.3em 0.5em;
    border-radius: var(--radius);
    cursor: pointer;
    width: max-content;
}
#content.profile .settings {
    position: absolute;
    right: 1em;
}
#content.profile .settings>i {
    font-size: 1.5em;
}
/*-----------MAPLEADERBOARD----------*/
#mapleaderboard{
    position: absolute;
    top: 0px;
    flex-direction: column;
    flex-wrap: nowrap;
}
#mapleaderboard.on{
    display: flex;
}
#mapleaderboard > .header{
    padding: 1em;
}
#mapleaderboard > .header > p{
    margin: 0;
    margin-top: 1em;
}
#mapleaderboard > .header > h4{
    margin: 0;
    margin-bottom: 0.2em;
}
#mapleaderboard > .content{
    width: 100%;
    max-width: 35em;
    position: relative;
    overflow-y: scroll;
    margin-bottom: 1em;
    height: -webkit-fill-available;
}
#mapleaderboard > .content > .row {
    width: -webkit-fill-available;
    background-color: var(--row);
    padding: 1em;
    margin: 1em;
    border-radius: var(--radius);
    box-shadow: 7px 8px 16px #00000014;
}
#mapleaderboard > .content > .row  .info {
    display: flex;
    gap: 1em;
    justify-content: space-between;
}
#mapleaderboard > .content > .row  .info > div {
    white-space: nowrap;
    overflow: hidden;
}
#mapleaderboard >.content>.row .info>div>.title{
    margin:0;
    white-space: pre-wrap;
    line-height: 0.9em;
    text-overflow: ellipsis;
}
#mapleaderboard >.content>.row .info>div>.artist,
#mapleaderboard >.content>.row .info>div>.ver {
    margin:0;
    font-size: 1em;
    font-weight: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}
#mapleaderboard > .content > .row  .info > img {
    height: 5em;
    pointer-events: none;
    border-radius: var(--radius);
    background-size: auto 100%;
    background-position: center;
    left: inherit;
    transform: inherit;
}
@keyframes cover {
    0%{background-size: auto 100%;}
    100%{background-size: auto 120%;}
}
#mapleaderboard > .content > .row  .review {
    margin-top:.5em;
    height: 10em;
    overflow: hidden;
    transition: .5s all;
}
#mapleaderboard > .content > .row  .review > .revrow {
    display: flex;
    align-items: center;
    gap: 0.5em;
    height: 2em;
    justify-content: space-between;
    transition: .5s all;
}
#mapleaderboard > .content > .row  .review > .revrow > .starry {
    font-size: .8em;
    margin-bottom: 0.3em;
    cursor: default;
}
#mapleaderboard > .content > .row  .review > .revrow > .starry > i {
    cursor: default!important;
}
#mapleaderboard > .content > .starry{
    margin-top: 0em;
}
#mapleaderboard > .content > .row.closed > .review {
    height: 2em;
}
#mapleaderboard > .content > .row.closed > .review > .revrow:first-child > p {
    display:none;
}
#mapleaderboard > .content > .row.closed > .review > .revrow:not(:first-child) {
    opacity: 0;
}
#mapleaderboard > .content > .row.closed > .review > .revrow:first-child:after {
    content:"\f14a";
    font-family: bootstrap-icons !important;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
}
#mapleaderboard.loading>.header>.tit,
#mapleaderboard.loading>.content>.row{
    display:none;
}
#mapleaderboard.loading>.content:after {
    content: "";
    background-image: url(/media/img/theme/logo_ubi.png);
    pointer-events: none;
    width: 100%;
    background-size: contain;
    position: fixed;
    animation: loading 1s ease-in-out infinite alternate-reverse, loadingdance 2s ease-in-out infinite alternate-reverse, 3s loadingstartup 1s both;
    background-position: center;
    background-repeat: repeat-x;
    opacity: 0.8;
    left: 0px;
    top: 14em;
    transform: skewY(-15deg);
}
/*-----------USER SRC----------*/
#usersrc{
    position: absolute;
    top: 0px;
    flex-direction: column;
    flex-wrap: nowrap;
}
#usersrc.on{
    display: flex;
}
#usersrc > .header{
    padding: 1em;
}
#usersrc > .header > p{
    margin: 0;
    margin-top: 1em;
}
#usersrc > .header > h4{
    margin: 0;
    margin-bottom: 0.2em;
}
#usersrc > .header > input {
    font-size: 1em;
    height: 2em;
    width: 14em;
    margin-top: 0.2em;
    border: none;
    border-radius: var(--radius);
    font-family: 'Rubik';
    padding: 0.5em 1em 0.5em 1em;
    transition: all .3s;
}
#usersrc > .header > input:focus {
    outline: none;
    background-color: #fffc;
}
#usersrc > .content{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 35em;
    position: relative;
    overflow-y: scroll;
    margin-bottom: 1em;
    height: -webkit-fill-available;
}
#usersrc > .content > .nametag {
    width: -webkit-fill-available;
    padding-left: 1em;
    margin: 0;
    border-bottom: #fff5 solid 1px;
    border-top: #fff5 solid 1px;
}
#usersrc > .content > .nametag {
    width: -webkit-fill-available;
    padding-left: 1em;
    margin: 0;
    border-top: #fff5 solid 1px;
}
#usersrc > .content > .nametag:last-child {
    border-bottom: #fff5 solid 1px;
}
#usersrc > .content > .nametag:hover, 
#usersrc > .content > .nametag:active{
    background-color: #fefefe39;
}
/*-----------CREDITS----------*/
#credits{
    position: absolute;
    top: 0px;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 1em;
}
#credits.on{
    display: flex;
}
#credits > .content > p{
    font-size: 1.3em;
    margin: 0em 0em .5em 0em;
}
#credits > .content > h1{
    margin-bottom: 0;
}
#credits > .content > h1:first-of-type{
    margin-top: 0;
}
#credits > div > h4{
    margin: 0.5em 0;
}
#credits > .content{
    overflow-y: scroll;
}
/*-----------FAQ----------*/
#faq{
    position: absolute;
    top: 0px;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 1em;
}
#faq.on{
    display: flex;
}
#faq > .content > p{
    font-size: 1.3em;
    margin: 0em 0em .5em 0em;
}
#faq > .content > h1{
    margin-bottom: 0;
}
#faq > .content > h1:first-of-type{
    margin-top: 0;
}
#faq > div > h4{
    margin: 0.5em 0;
}
#faq > .content{
    overflow-y: scroll;
}
/*-----------SETTINGS----------*/
#settings{
    position: absolute;
    top: 0px;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 1em;
}
#settings.on{
    display: flex;
}
#settings > .content > h1:first-of-type{
    margin-top: 0;
}
#settings > div > h4{
    margin: 0.5em 0;
}
#settings > .content{
    display: flex;
    margin: auto;
    margin-top: 0em;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 35em;
    position: relative;
    overflow-x: visible;
    flex-direction: column;
}
#settings .field{
    display: flex;
    align-items: center;
    gap: 1em;
}
#settings p{
    color: #fffc;
}
#settings p.section:not(:first-child){
    margin: 1em 0em 1em 0em;
}
#settings div.footer>p{
    margin: 0;
    align-self: center;
    color: #fffc;
}
#settings .wrap{
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}
#settings .row{
    margin: 0em;
    width: fit-content;
    padding: .5em 1em;
    cursor: pointer;
}
#settings .row.warn{
    border: var(--warn) solid 3px;
    background: var(--warnd);
}
#settings div.row.logout{
    background: #fff5;
}
#settings div.row.logout:after{
    content: "\f1c3";
    font-family: bootstrap-icons !important;
    font-weight: 600;
    margin-left: 0.4em;
    position: relative;
    bottom: -0.13em;
    -webkit-font-smoothing: antialiased;
}
#settings .footer{
    height: 3em;
    padding: 1em;
    position: fixed;
    width: -webkit-fill-available;
    bottom: 0px;
    left: 0px;
}
/*-----------COMMENT----------*/
#comment{
    padding:1em;
    position: absolute;
    top: 0px;
    flex-direction: column;
    flex-wrap: nowrap;
}
#comment.on{
    display: flex;
}
#comment > div > p{
    font-size: 1.3em;
    margin: 1em 1em 0 0;
}
#comment > div > p.desc{
    font-size: 1em;
    margin: 0;
}
#comment > div > h4{
    margin: 0.5em 0;
}
#comment > .content{
    width: 100%;
    max-width: 35em;
    position: relative;
    padding-bottom: 8em;
}
#comment > .content > button {
    font-size: 1.5em;
    background-color: var(--primary);
    text-align: center;
    border: none;
    color: white;
    margin-top: 2em;
    position: relative;
    width: -webkit-fill-available;
    border-radius: var(--radius);
    padding: 0.5em 1em 0.5em 1em;
    font-family: 'Rubik';
    outline: solid var(--outline) 2px;
    outline-offset: 0px;
    transition: outline-color .3s, outiline-offset .3s;
}
#comment > .content > button:active {
    outline-color: white;
    outline-offset: 2px;
    background-color: var(--primaryd);
}
#comment > .content > textarea {
    font-size: 1em;
    height: 80%;
    width: -webkit-fill-available;
    background-color: var(--textarea);
    opacity: .8;
    border: none;
    margin-top: 1em;
    border-radius: var(--radius);
    font-family: 'Rubik';
    padding: 0.5em 1em 0.5em 1em;
    resize: none;
    transition: all .3s;
}
#comment > .content > textarea:focus {
    outline: none;
    background-color: var(--textarea);
}
/*-----------REVIEW----------*/
#review{
    padding:1em;
    position: absolute;
    top: 0px;
    flex-direction: column;
    flex-wrap: nowrap;
}
#review.on{
    display: flex;
}
#review > .content > p{
    font-size: 1em;
    margin: 1em 1em 0 0;
}
#review > div > p.desc{
    font-size: 1em;
    margin: 0;
}
#review > div > h4{
    margin: 0.5em 0;
}
#review > .content{
    width: 100%;
    max-width: 35em;
    position: relative;
    overflow-y: scroll;
}
#review > .content > button {
    font-size: 1.5em;
    background-color: var(--primary);
    text-align: center;
    border: none;
    color: white;
    margin-top: 2em;
    position: relative;
    width: -webkit-fill-available;
    border-radius: var(--radius);
    padding: 0.5em 1em 0.5em 1em;
    font-family: 'Rubik';
    outline: solid var(--outline) 2px;
    outline-offset: 0px;
    margin: 2em .2em .2em .2em;
    transition: outline-color .3s, outiline-offset .3s;
}
#review > .content > button:active {
    outline-color: white;
    outline-offset: 2px;
    background-color: var(--primaryd);
}
#review > .content > textarea {
    font-size: 1em;
    height: 1.5em;
    width: -webkit-fill-available;
    border: none;
    overflow: hidden;
    background-color: var(--textarea);
    opacity: .8;
    margin-top: 1em;
    border-radius: var(--radius);
    font-family: 'Rubik';
    padding: 0.5em 1em 0.5em 1em;
    resize: none;
    transition: all .3s;
}
#review > .content > textarea:focus {
    height: 6em;
}
#review > .content > textarea:focus {
    outline: none;
    background-color:  var(--textarea);
}
/*-----------REVIEW VIEW----------*/
#reviewview{
    padding:1em;
    position: absolute;
    top: 0px;
    flex-direction: column;
    flex-wrap: nowrap;
}
#reviewview.on{
    display: flex;
}
#reviewview > .content > p{
    font-size: 1em;
    margin: 1em 1em 0 0;
}
#reviewview > div > p.desc{
    font-size: 1em;
    margin: 0;
}
#reviewview > div > h4{
    margin: 0;
    margin-top: 0.5em;
}
#reviewview > .content{
    width: 100%;
    max-width: 35em;
    position: relative;
    overflow-y: scroll;
    height: -webkit-fill-available;
}
#reviewview > .content > .starry{
    margin-top: 0.4em;
}
#reviewview > .content > .txt{
    opacity: .9;
    font-style: italic;
}
#delreview{
    margin: 1em .2em .2em .2em;
    display: none;
}
#delreview.mine{
    display: inherit;
}
#reviewview.loading>.header>.tit,
#reviewview.loading>.header>.desc,
#reviewview.loading>.content>*{
    display:none;
}
#reviewview.loading>.content:after {
    content: "";
    background-image: url(/media/img/theme/logo_ubi.png);
    pointer-events: none;
    width: 100%;
    background-size: contain;
    position: fixed;
    animation: loading 1s ease-in-out infinite alternate-reverse, loadingdance 2s ease-in-out infinite alternate-reverse, 3s loadingstartup 1s both;
    background-position: center;
    background-repeat: repeat-x;
    opacity: 0.8;
    left: 0px;
    top: 14em;
    transform: skewY(-15deg);
}
/*-----------FANTA----------*/
#fanta{
    padding:1em;
    position: absolute;
    top: 0px;
    flex-direction: column;
    flex-wrap: nowrap;
    transform: scale(.7);
    overflow: hidden;
}
#fanta.on{
    display: flex;
}
#fanta.onopacity{
    transform: scale(1);
}
#fanta > .bkg{
    position: absolute;
    z-index: -1;
    top: -7em;
    left: 0;
    height: -webkit-fill-available;
    width: -webkit-fill-available;
    display: flex;
    justify-content: center;
    background-color: #1f1e5c;
}
#fanta > .bkg > img{
    position: absolute;
    width: 150%;
    height: auto;
    animation: fantabkgrot 55s infinite linear;
}
#fanta > .header > img{
    height: 4em;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
#fanta > .content{
    width: 100%;
    max-width: 35em;
    position: relative;
    overflow-y: scroll;
    height: -webkit-fill-available;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#fanta > div.content > div:nth-child(2){
    display: flex;
    width: -webkit-fill-available;
    justify-content: space-between;
}
#fanta > div.content > div:nth-child(2) > .credits{
    display: flex;
    background-color: white;
    padding: 0em 1em;
    border-radius: var(--radius);
    margin-top: 0.5em;
}
#fanta > div.content > div:nth-child(2) > .credits > h2{
    color: var(--primary);
    margin: 0;
    font-size: 1em;
    font-weight: 400;
}
#fanta > div.content > div:nth-child(2) > .credits > .bi{
    font-size: 1em;
    height: fit-content;
    margin-top: 0.35em;
    margin-left: 0.3em;
    color: var(--primary);
}
#fanta > .content > div:nth-child(2) > button{
    background-color: white;
    text-align: center;
    border: none;
    color: var(--primary);
    margin-top: 0.5em;
    border-radius: var(--radius);
    padding: 0.5em 1em 0.5em 1em;
    font-family: 'Rubik';
}#fanta > .content > div:nth-child(2) > button>i{
    font-size: inherit;
    margin-right: 0.5em;
    color: var(--primary);
}
#fanta > .content > .bid{
    display: flex;
    flex-direction: column;
    width: -webkit-fill-available;
    background-color: #ffffff2b;
    margin-top: 1em;
    border-radius: var(--radius);
    padding: 1em;
}
.bid > .sell , .myteam > .sell{
    display: flex;
    width: -webkit-fill-available;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1em;
}
.sell>.cover{
    height: 3em;
    width: 3em;
    background-color: white;
    background-position: center;
    background-size: cover;
    border-radius: var(--radius);
    box-shadow: #1f1e5c6b 0px 0px 12px;
    transition: .3s all;
}
.sell>.cover.mine{
    opacity: .5;
    pointer-events: none;
}
.sell>.cover:active {
    transform: scale(.9);
}
#fanta > .content > .bid > .action{
    display: flex;
}
#fanta > .content > .bid > .action > .choice > .img{
    background-image: url(https://jd2026community.com/media/img/theme/fantaHolder.png);
    height: 6em;
    background-size: auto 7em;
    width: 5em;
    background-repeat: no-repeat;
    background-position: bottom center;
    padding: 1em;
    padding-top: 4em;
    padding-bottom: 0;
    transition: .3s opacity;
}
#fanta > .content > .bid > .action > .choice > .img.empty{
    opacity: .5;
}
#fanta > .content > .bid > .action > .choice > .img > img {
    height: 8em;
    left: -1.5em;
    bottom: 2em;
    position: relative;
}

#fanta > div.content > div.bid > div.action > div.buy > h2{
    margin: 0;
    margin-bottom: -0.5em;
}
#fanta > div.content > div.bid > div.action > div.buy > h4{
    margin: 0;
    font-weight: 500;
}
#fanta > div.content > div.bid > div.action > div.buy > h4:not(:empty):after{
    content: "\f586";
    font-family: bootstrap-icons !important;
    -webkit-font-smoothing: antialiased;
    margin-left: 0.3em;
    margin-top: 0.3em;
    position: absolute;
}
#fanta > .content > .bid > .action > .buy{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: -webkit-fill-available;
}
#fanta > .content > .bid > .action > .buy > button{
    background-color: var(--primary);
    text-align: center;
    border: none;
    color: white;
    margin-top: 0.5em;
    border-radius: var(--radius);
    padding: 0.5em 2em 0.5em 2em;
    font-family: 'Rubik';
    font-size: 1em;
    transition: .3s opacity;
}
#fanta > .content > .bid > .action > .buy > button.disabled{
    opacity: .5;
}
#fanta > .content > .bid > .action > .buy > button.waiting {
    pointer-events: none;
    opacity: .8;
}
#fanta > .content > .myteam{
    display: flex;
    flex-direction: column;
    width: -webkit-fill-available;
    background-color: #ffffff2b;
    margin-top: 1em;
    border-radius: var(--radius);
    padding: 1em;
}
.myteam > .sell>.cover.mine{
    opacity: 1;
    pointer-events: initial;
}
#fanta > .content > .myteam > h3{
    margin: 0;
    margin-top: -0.5em;
}
#fanta > .content > .myteam > div:empty::before{
    content:"Buy your first team member";
    margin: 1em;
    opacity: .5;
}
#fanta > .content > .more{
    margin-top: 1em;
    width: -webkit-fill-available;
    background-color: #ffffff2b;
    border-radius: var(--radius);
}
#fanta > .content > .more > .article > .head{
    padding: 1em;
    background-color: #771dff;
    font-family: 'Cairo';
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}
#fanta > .content > .more > div:nth-of-type(2){
    border-radius: var(--radius) .5em 0 0;
}
#fanta > .content > .more > .article.closed > .head:after{
    content: "\f229";
    font-family: bootstrap-icons !important;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    margin-top: 0.45em;
}
#fanta > .content > .more > .article:not(.closed) > .head:after{
    content: "\f238";
    font-family: bootstrap-icons !important;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    margin-top: 0.45em;
}
#fanta > .content > .more > .article.hidden{
    display: none;
}
#fanta > .content > .more > .article > .content{
    padding:1em;
}
#fanta > .content > .more > .article.closed > .content{
    display: none;
}
.article.rules > .content > img{
    width: -webkit-fill-available;
    border-radius: var(--radius);
}
.article.rules > .content > h3{
    margin:0;
}.article.rules > .content > p{
    margin-top: 0;
    margin-bottom: 2em;
    opacity: .8;
}

#fanta.loading>.header>img,
#fanta.loading>.bkg,
#fanta.loading>.content>*{
    display: none !important;;
}
#fanta.loading>.content:after {
    content: "";
    background-image: url(/media/img/theme/fanta_credit.webp);
    pointer-events: none;
    width: 60%;
    background-size: contain;
    animation: loading 1s ease-in-out infinite alternate-reverse;
    background-position: center;
    background-repeat: repeat-x;
    margin-left: auto;
    display: block;
    margin-right: auto;
    top: 7em;
    position: absolute;
    right: 50%;
    transform: translate(50%,0%);
}
/*-----------STARRY----------*/
.starry {
    font-size: 1.1em;
}
.starry > i {
    cursor: pointer;
    font-size: 1.8em;
    margin-right: 0.1em;
}
.starry.pill {
    cursor: default;
    font-size: .8em;
    background-color: #bbb5;
    padding: 0.5em 1em;
    border-radius: var(--radius);
    width: fit-content;
    color: white;
    margin-bottom: 0.8em;
}
.starry.pill > i {
    font-size: 1.2em;
    cursor: default;
}
.starry.pill.review > i {
    cursor: pointer;
}
.starry.pill.review {
    cursor: pointer;
    background: var(--backgt);
    color: var(--due);
}
*:not(.about) + .starry.pill.review {
    margin-top: 0.8em;
}
.starry.pill.review:after {
    content: "Go to review >";
    font-size: 1.2em;
    margin-left: 0.3em;
}
/*-----------IMG ZOOM----------*/
#imgzoom{
    padding:1em;
    position: absolute;
    top: 0px;
    transform: translateX(0%);
    background-color: #0007;
}
#imgzoom.on{
    display: flex;
    justify-content: center;
    align-items: center;
}
#imgzoom > img{
    max-width: 100%;
    max-height: 100%;
    pointer-events: none;
}
/*-----------WARN----------*/
#warning{
    padding:1em;
    position: absolute;
    top: 0px;
    transform: translateX(0%);
    background-color: #0007;
    z-index: 20;
    user-select: none;
}
#warning.on{
    display: flex;
    justify-content: center;
    align-items: center;
}
#warning > div {
    background-color: white;
    padding: 1em;
    padding-top: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: var(--radius);
    width: -webkit-fill-available;
    max-width: 24em;
}
#warning > div > p {
    font-size: 1em;
    color: #646464;
}
#warning > div > p:nth-of-type(2) {
    font-size: .8em;
    margin-top: 0;
    color: #9e9e9e;
}
#warning > div > div {
    display: flex;
    gap: 1em;
    padding-top: 2em;
}
#warning > div > div > button {
    font-size: 1em;
    text-align: center;
    background-color: var(--primary);
    border: none;
    color: white;
    width: inherit;
    border-radius: var(--radius);
    padding: 0.5em 1em 0.5em 1em;
    transition: .3s background-color;
    font-family: 'Rubik';
}
#warning > div > div > button.cancel {
    background-color: rgb(116, 116, 116);
}
#warning > div > div > button.warn {
    background-color: var(--warn);
    transition: .3s background-color;
}
#warning > div > div > button.waiting, .warn.waiting {
    pointer-events: none;
    background-color: var(--warnt);
}
/*-----------ERROR POPUP----------*/
#error{
    padding: 6em;
    position: absolute;
    top: 0px;
    background-color: transparent;
    z-index: 80;
    pointer-events: none;
    transform: translateY(50%);
    opacity: 0;
}
#error.on{
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
#error.onopacity{
    transform: translateY(0%);
    opacity: 1;
}
#error > div {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: var(--radius);
    width: -webkit-fill-available;
    max-width: 24em;
    border: solid #5a5a5a 3px;
    position: absolute;
}
#error > div > p {
    font-size: 1em;
    color: #646464;
}
/*-----------PWA----------*/
#tuto{
    display: none;
    padding: 1em;
    position: absolute;
    width: -webkit-fill-available;
    flex-direction: column;
    flex-wrap: nowrap;
    background-color: var(--backg);
}
#tuto.top{
    display: flex;
    height: fit-content;
    top: 0px;
    box-shadow: var(--primaryd) 0px 0px 50px 0px;
}
#tuto.bottom{
    bottom: 0px;
    display: flex;
    height: fit-content;
    box-shadow: var(--primaryd) 0px 0px 50px 0px;
}
#tuto.full{
    top: 0px;
    display: flex;
    height: -webkit-fill-available;
    justify-content: space-evenly;
    padding: 2em;
}
#tuto > div {
    max-width: 500px;
}
#tuto > .header > h1{
    font-size: 1.5em;
    margin: 0;
}
#tuto > .header > p{
    font-size: 1em;
    margin: 0;
}
#tuto > .header > img{
    width: -webkit-fill-available;
    margin-top: 1em;
    pointer-events: none;
}
#tuto > .special:empty{
    display:none
}
#tuto > .actions{
    display: flex;
    align-items: center;
    gap: 0.5em;
    justify-content: flex-end;
    margin-top: 0.5em;
}
#tuto > .actions > p{
    cursor: pointer;
    margin: 0;
    margin-right: auto;
    color: #fffc;
}
#tuto > .actions > button {
    font-size: 1em;
    text-align: center;
    border: none;
    color: white;
    border-radius: var(--radius);
    padding: 0.5em 1em 0.5em 1em;
    font-family: 'Rubik';
    white-space: nowrap;
}
#tuto > .actions > #tuto-dismiss {
    background-color: #fff5
}
#tuto > .actions > #tuto-confirm {
    background-color: var(--primary);
}
/*-----------EXTRA----------*/
.emote > i {
    border: white solid 4px;
    padding: 12px;
    border-radius: 15px;
}
.emote {
    margin: 0.5em;
    margin-top: 2em;
    margin-bottom: 1em;
    transform:scale(1);
    transition: 0.3s transform;
}
.emote:active {
    transform:scale(0.9);
}
/*SHARE BUILDER*/
#shbuilder{
    top: 0;
    background-color: var(--backg);
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 4em;
    width: 1080px;
    height: 1920px;
    font-size: 36px;
    display: flex;
    pointer-events: none;
    position: relative;
}
#shbuilder>div{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#shbuilder>.content{
    overflow-x: inherit;
    padding: 0;
    margin-top: 9em;
    width: -webkit-fill-available;
}
#shbuilder > .content.community > .row{
    width: inherit;
}
#shbuilder > .content.community > .row  i{
    display: none;
}
#shbuilder > .content.community > .row  .starry.pill.review:after{
    content: "";
    margin-left: 0;
}
#shbuilder>.share>h2{
    margin-bottom: 0.5em;
    font-size: 2em;
}
#shbuilder>.share>div{
    border: white 5px dashed;
    padding: 0.5em 1em;
    border-radius: var(--radius);
    font-size: 1.3em;
}
#shbuilder>.ft{
    margin-bottom: 4em;
    position: relative;
    bottom: 0;
}
#shbuilder> div:nth-last-child(2) {
    margin-bottom: 7em;
}
/*-----------SHARE----------*/
#share{
    padding:1em;
    position: absolute;
    top: 0px;
    transform: translateX(0%);
    background-color: #0007;
    z-index: 20;
    user-select: none;
}
#share.on{
    display: flex;
    justify-content: center;
    align-items: center;
}
#share > div {
    background-color: white;
    padding: 1em;
    padding-top: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: var(--radius);
    width: -webkit-fill-available;
    max-width: 24em;
}
#share > div > p, #share > div > ol > li {
    font-size: 1em;
    color: #646464;
    margin: 0;
}
#share > div > ol > li {
    margin-top: 1em;
}
#share > div > p:nth-of-type(2) {
    font-size: .8em;
    margin-top: 0;
    color: #9e9e9e;
}
#share > div > div {
    display: flex;
    gap: 1em;
    margin-right: auto;
}
#share > div > div > button, #share > div > ol > li > button {
    font-size: 1em;
    text-align: center;
    background-color: var(--primary);
    border: none;
    color: white;
    border-radius: var(--radius);
    padding: 0.5em 1em 0.5em 1em;
    transition: .3s background-color, .1s opacity;
    font-family: 'Rubik';
}
#share > div > ol > li > button:active {
    opacity: 0.5;
}
#share > div > ol > li > button {
    margin-left: 1em;
}
#share > div > div > button.cancel {
    background-color: rgb(116, 116, 116);
}
#share > div > ol > li > button.waiting {
    pointer-events: none;
    background-color: var(--warnt);
}
/*aggiunte post*/
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-thumb {
  background: #ffffff45;
  border: 0px none  var(--backg);
  border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ffffff74;
}
::-webkit-scrollbar-thumb:active {
  background: #ffffffb4;
}
::-webkit-scrollbar-track {
  background: var(--backg);
  border: 0px none  var(--backg);
  border-radius: 0px;
}
::-webkit-scrollbar-track:hover {
  background: transparent;
}
::-webkit-scrollbar-track:active {
  background: transparent;
}
::-webkit-scrollbar-corner {
  background: transparent;
}
/*---------SLIDER------------*/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff5c;
    -webkit-transition: .4s;
    transition: .4s;
  }
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  input:checked + .slider {
    background-color: var(--primary);
  }
  input:focus + .slider {
    box-shadow: 0 0 1px var(--primary);
  }
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  .slider.round {
    border-radius: 34px;
  }
  .slider.round:before {
    border-radius: 50%;
  }

/*-----------LOADING SCREEN----------*/
#content.loading{
    display: flex;
    justify-content: center;
    align-content: center;
}
#content.loading>img{
    animation: loading 1s ease-in-out infinite alternate-reverse;
}
@keyframes loading {
    0%{height: 10em;}
    100%{height: 13em;}
}
@keyframes loadingdance {
    0%{transform: skewY(-5deg);}
    40%{transform: skewY(-5deg);}
    60%{transform: skewY(5deg);}
    100%{transform: skewY(5deg);}
}
@keyframes loadingstartup {
    0%{opacity: 0;}
    100%{}
}
@keyframes loadingcut {
    0%{height: 12em;top:14em}
    100%{height: 20em;top:10em}
}
@keyframes loadingpulse {
    0%{opacity: 0.2;}
    10%{opacity: 0.3;}
    40%{opacity: 0.2;}
}
@keyframes pulse {
    0%{opacity: 0.2;}
    100%{opacity: 1;}
}